<style>
    .radio-list .radio { margin-right: 20px; }
</style>
<div class="ui-dialog-content" style="width: 480px;">
   <table>
       <tbody>
       <tr>
           <td valign="top" align="right" width="100" class="form-cell" valign="top">用户身份：</td>
           <td class="cell-split" style="padding-top: 5px;">
               <div style="display:block">
                   <div class="radio-list">
                       <div class="radio" ng-repeat="item in roles">
                           <input type="radio" name="radio" id="radio{{$index}}" ng-checked="user_type == item">
                           <label for="radio{{$index}}" ng-click="change(item)">{{item}}</label>
                       </div>                      
                   </div>
               </div>
           </td>
       </tr>
       <tr ng-show="(user_type || user.user_type) !== '销售经理' && !noTeam">
           <td valign="top" align="right" width="100" class="form-cell pt16" valign="top">所属团队：</td>
           <td class="cell-split pt16">              
                <div style="width:332px" class="fl limit-ie f12 mr25">
                    <div class="select">
                        <span class="select-border js-select2" ng-click="toggleTree($dialogScope)">
                            <input class="select-text" type="text" readonly="" value="{{selected.group_name || selected.team_name}}" placeholder="">
                            <span class="select-icon">
                                <i class="select-icon-arrow"></i>
                            </span>
                        </span>
                        <div class="select-sub" ng-style="treeDisplay">
                            <div id="tree_table"></div>
                        </div>
                    </div>
                </div>
           </td>
       </tr>
    </tbody>
    </table>
</div>